package com.fdb.efp.flow.service.facade;

import java.util.List;

import com.fdb.efp.flow.service.vo.BizEventInfoVO;

/**
 * <p>Description:业务流转事件信息				<p>
 * @author ligm
 * @date 2018-05-05
 */
public interface BizEventInfoService {
	
	public List<BizEventInfoVO> queryAllOwner(BizEventInfoVO bizEventInfoVo);
	
	public List<BizEventInfoVO> queryAllCurrOrg(BizEventInfoVO bizEventInfoVo);
	
	public List<BizEventInfoVO> queryAllCurrDownOrg(BizEventInfoVO bizEventInfoVo);
	
	public int insertBizEventInfo(BizEventInfoVO inBizEventInfoVo);
	
	public int deleteByPk(BizEventInfoVO bizEventInfoVo);
	
	public int updateByPk(BizEventInfoVO bizEventInfoVo);
	
	public BizEventInfoVO queryByPk(BizEventInfoVO bizEventInfoVo);
	
	public int countByFlowIdAndEventId(String flowId, String eventId);
	
	public List<BizEventInfoVO> queryAllByFlowType(BizEventInfoVO bizEventInfoVo);

	public boolean isFirstNode(String bizSerno);

}
